#pragma once

#include "resource.h"
#include "chunkcamera.h"
#include "chunkmanager.h"
#include "chunkspace.h"

#include "DXUT\Optional\DXUTcamera.h"

#include "vector3.h"
#include "DebugAirScape.h"


//class hkVisualDebugger;

class TestApplication
{
public:
	TestApplication();
	~TestApplication();

	bool Init(IDirect3DDevice9* pd3dDevice);

	void OnFrameMove(float fElapsedTime);
	void OnRenderScene(IDirect3DDevice9* pd3dDevice);
	void OnReset(IDirect3DDevice9* pd3dDevice);

	void OnMsg(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, bool* pbNoFurtherProcessing, void* pUserContext);

	TestCamera* GetCamera(void);

private:
	TestCamera*	m_pChunkCamera;
	DebugAirScape m_AirScape;

	bool	m_bShowScapemap;

	//hkVisualDebugger*	m_pVDB;
	//float	m_fPhysicsStepFrequency;
};
